package com.ruoyi.system.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;

import java.util.List;

/**
 * 文件数据对象 file_data
 * 
 * @author ruoyi
 * @date 2023-02-23
 */
@ApiModel("文件数据对象")
public class FileObject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private  List<FileData> fileDataList;
    private List<String> delFileList;

    public List<FileData> getFileDataList() {
        return fileDataList;
    }

    public void setFileDataList(List<FileData> fileDataList) {
        this.fileDataList = fileDataList;
    }

    public List<String> getDelFileList() {
        return delFileList;
    }

    public void setDelFileList(List<String> delFileList) {
        this.delFileList = delFileList;
    }

    public static FileObject getFileObject(List<FileData> fileDataList,List<String> delFileList){
        FileObject fileObject = new FileObject();
        fileObject.setFileDataList(fileDataList);
        fileObject.setDelFileList(delFileList);
        return fileObject;
    }
}
